/*
 * author      : 吴中勤 
 * date        : 2018/8/21
 * description : TODO
 */

package com.deepexi.adapter.sdk.moby;

import com.deepexi.adapter.common.CommonUtils;
import com.deepexi.adapter.sdk.moby.response.BaseMobyResponse;
import org.json.JSONException;

public class ResponseParser {

    /** 解析 BP请求的结果, 数据结构 请看 doc/sap_api/BP.md */
    public static BaseMobyResponse parseResult(String result) throws JSONException {
        return CommonUtils.jsonString2Obj(result, BaseMobyResponse.class);
    }
}
